package me.youline.dataServer.entity;

public class UserSocialConnect {

	public static enum ConnectType{
		QQ,
		WECHAT,
		WEIBO
	}
	
	/**
	 * 用户ID
	 */
	private Long userId;
	
	/**
	 * 社交平台ID
	 */
	private String socialConnectId;

	/**
	 * 第三方社交平台连接类型
	 */
	private ConnectType connectType;
	
	/**
	 * 获取社交平台账号ID
	 * @return
	 */
	public String getSocialConnectId() {
		return socialConnectId;
	}

	public void setSocialConnectId(String socialConnectId) {
		this.socialConnectId = socialConnectId;
	}

	/**
	 * 获取用户ID
	 * @return
	 */
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public ConnectType getConnectType() {
		return connectType;
	}

	public void setConnectType(ConnectType connectType) {
		this.connectType = connectType;
	}

	@Override
	public String toString() {
		return "UserSocialConnect [userId=" + userId + ", socialConnectId="
				+ socialConnectId + ", connectType=" + connectType + "]";
	}
	
}
